package com.dreamtour.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xls
 * @since 2024-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("markandreviews")
public class Markandreviews implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "markId", type = IdType.AUTO)
    private Integer markId;

    @TableField("userId")
    private Integer userId;

    @TableField("spotId")
    private Integer spotId;

    @TableField("isFavored")
    private Boolean isFavored;

    @TableField("favoredTime")
    private LocalDateTime favoredTime;

    @TableField("isStamped")
    private Boolean isStamped;

    @TableField("stampedTime")
    private LocalDateTime stampedTime;

    @TableField("userRating")
    private BigDecimal userRating;

    @TableField("userComments")
    private String userComments;


}
